import instance from '../utils/request'
const edituserInfo = data => {
  return instance({
    method: 'patch',
    url: '/v1_0/user/profile',
    data
  })
}
const editusericon = data => {
  return instance({
    method: 'patch',
    url: '/v1_0/user/photo',
    data
  })
}
export { edituserInfo, editusericon }
